package PayrollGroup.trans;

import PayrollGroup.PaymentClassification;
import PayrollGroup.Transaction;
import PayrollGroup.classification.SalariedClassification;


public class AddSalariedEmployeeTransaction extends AddEmployeeTransaction implements Transaction {
	protected double salary;
	public AddSalariedEmployeeTransaction(int empId, String name, String address, double salary) {
		super(empId,name,address);
		this.salary=salary;
	}

	protected PaymentClassification getPaymetClassification() {
			return new SalariedClassification(salary);
		}

}
